package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Table;
import java.io.Serializable;
									    import java.util.Date;
																						
/**
 *
 * <h1>用户账户流水记录表表 micro_user_account_journal</h1>
 * @author levelcoder
 * @date 2020-08-04 00:11:09
 */
@ApiModel(description = "用户账户流水记录表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_user_account_journal")
public class UserAccountJournal implements Serializable{

	private static final long serialVersionUID = 1L;

	@Id
    @ApiModelProperty(value = "主键编号")
	private Long id;

	
			
					/**
			 * 交易流水号
			 */
        	@ApiModelProperty(value = "交易流水号")
			private String journalNo;

			
					/**
			 * 用户编号
			 */
        	@ApiModelProperty(value = "用户编号")
			private String userCode;

			
					/**
			 * 账户类别 
			 */
        	@ApiModelProperty(value = "账户类别 ")
			private String accountType;

			
					/**
			 * 订单编号
			 */
        	@ApiModelProperty(value = "订单编号")
			private String orderCode;

			
					/**
			 * 支出/收入 1.支出｜减少 2.收入｜新增
			 */
        	@ApiModelProperty(value = "支出/收入 1.支出｜减少 2.收入｜新增")
			private Byte inOutFlag;

			
					/**
			 * 交易金额 
			 */
        	@ApiModelProperty(value = "交易金额 ")
			private String tradeAmount;

			
					/**
			 * 交易类别
			 */
        	@ApiModelProperty(value = "交易类别")
			private Byte tradeType;

			
					/**
			 * 创建时间
			 */
        	@ApiModelProperty(value = "创建时间")
			private Date createTime;

			
					/**
			 * 修改时间
			 */
        	@ApiModelProperty(value = "修改时间")
			private Date updateTime;

			}
